package model.persistence;

import java.sql.Connection;

import java.sql.SQLException;

public interface DAO extends Cloneable{

    public Object insert(Object dto) throws SQLException;

    public Object update(Object dto) throws SQLException;

    public void delete(Object dto) throws SQLException;

    public Object find(Object oid) throws SQLException;

    public Connection setConnection(Connection connection);

    public Object clone() throws CloneNotSupportedException;

}
